home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7918 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: nwlink.com!usenet
  2. From: Teresa Reiko <tjr19@mail.nwlink.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Huffman encoding
  5. Date: 29 Feb 1996 17:46:25 GMT
  6. Organization: Northwest Link
  7. Message-ID: <4h4oph$kjj@texas.nwlink.com>
  8. References: <4h00ci$euq@garuda.csulb.edu> <4h2fo4$4te@linet06.li.net>
  9. NNTP-Posting-Host: port65.annex2.nwlink.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2 (Windows; U; 16bit)
  14.  
  15. aholder@li.net (Andrew Holder) wrote:
  16.  
  17. >>Does anyone have any suggestions on how I can program a simple version 
  18. >>of Huffman encoding/decoding in the C language?
  19. >>
  20. >>I am looking for source code to implemet a "two-pass" Huffman encoding 
  21. >>scheme which would read characters from a file on the first pass and 
  22. >>then perform the encoding and the second pass...
  23. >>
  24. >>Any help or suggestions would be much, much appreciated!!
  25. >
  26. >Look for the uuecode program posted on this news group. that will give 
  27. >you some source code to go by. Good luck.
  28. >
  29.  
  30. Huh?  UUencode is NOT the same as Huffman coding.  UUencode is a way of
  31. representing binary data as text for transmission in e-mail, etc, and
  32. Huffman coding is representing any data with less bits, therefore
  33. compressing it.  Anyway, this discussion should be in comp.compression.
  34.  
  35. ----------------------------------------------------------------------
  36. Teresa Reiko    Chief Programmer, Tenbyte Software    tjr19@nwlink.com
  37. ----------------------------------------------------------------------
  38.  
  39.  
  40.